import { ProductSimpleVO, ProductDTO } from '/@/api/product/model/productModel'
export interface OrderSO {
  orderUserId: string | undefined
  consigneeName: string | undefined
  consigneeTel: string | undefined
  consigneeAddress: string | undefined
  orderCode: string | undefined
  trackCode: string | undefined
  orderStatus: string | undefined
  afloatStatus: number
  orderTimeStart: string | undefined
  orderTimeEnd: string | undefined
  productName: string | undefined
}

export interface OrderVO {
  id: string
  orderCode: string
  orderUserName: string
  senderName: string
  senderTel: string
  senderAddress: string
  consigneeName: string
  consigneeTel: string
  consigneeAddress: string
  remark: string
  trackCode: string
  orderStatus: number
  afloatStatus: number
  products: ProductSimpleVO[]
  createTime: string
}

export interface OrderBO {
  id: string | undefined
  senderName: string | undefined
  senderTel: string | undefined
  senderAddress: string | undefined
  consigneeName: string | undefined
  consigneeTel: string | undefined
  consigneeAddress: string | undefined
  remark: string | undefined
  products: ProductDTO[]
  saveFlag: boolean
  afloatStatus: number
  force: boolean
}

export interface OrderLogVO {
  id: string
  orderCode: string
  orderUserName: string
  senderName: string
  senderTel: string
  senderAddress: string
  consigneeName: string
  consigneeTel: string
  consigneeAddress: string
  orderStatus: number
  afloatStatus: number
  quantity: number
  createTime: string
}
export interface OrderLogSO {
  productId: string
  orderStatus: string
  startTime: string | undefined
  endTime: string | undefined
}
